/*
 * @(#)EmailMessageSenderComparator.java
 *
 * Copyright (c) 2004 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */

package com.dcivision.upgrade;

/**
 * <code>UpgradeState</code> have resoponsibility to provides the state of
 * upgrade to any caller who interested in the upgrade.
 * 
 * @author      Brook.Huang
 * @company     DCIVision Limited
 * @creation    19/04/2007
 * @version     $Revision: 1.3 $
 */
public interface UpgradeState {

  public String getReport();

  public String getProgressReport();

  public boolean isUpgradeCompleted();

  public boolean isExceptionOccur();

  public Throwable getException();

}
